翻訳と辞書
Words near each other
・ Booth Peninsula
・ Booth Savage
・ Booth School
・ Booth School of Business
・ Booth Spur
・ Booth State Scenic Corridor
・ Booth Stradivarius
・ Booth Street
・ Booth Tarkington
・ Booth Theater (Independence, Kansas)
・ Booth Theatre
・ Booth University College
・ Booth v. Churner
・ Booth Western Art Museum
・ Booth's Gin
Booth's multiplication algorithm
・ Booth's Theatre
・ Booth, Alabama
・ Booth, East Riding of Yorkshire
・ Booth, Texas
・ Booth, West Virginia
・ Booth-Lovelace House
・ Booth-Weir House
・ Bootham
・ Bootham Crescent
・ Bootham Park Hospital
・ Bootham School
・ Boothapandi
・ Boothbay Harbor (CDP), Maine
・ Boothbay Harbor Memorial Library


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Booth's multiplication algorithm : ウィキペディア英語版
Booth's multiplication algorithm
Booth's multiplication algorithm is a multiplication algorithm that multiplies two signed binary numbers in two's complement notation. The algorithm was invented by Andrew Donald Booth in 1950 while doing research on crystallography at Birkbeck College in Bloomsbury, London. Booth used desk calculators that were faster at shifting than adding and created the algorithm to increase their speed. Booth's algorithm is of interest in the study of computer architecture.
==The algorithm==

Booth's algorithm examines adjacent pairs of bits of the ''N''-bit multiplier ''Y'' in signed two's complement representation, including an implicit bit below the least significant bit, ''y''-1 = 0. For each bit ''y''''i'', for ''i'' running from 0 to ''N''-1, the bits ''y''''i'' and ''y''''i''-1 are considered. Where these two bits are equal, the product accumulator ''P'' is left unchanged. Where ''y''''i'' = 0 and ''y''''i''-1 = 1, the multiplicand times 2''i'' is added to ''P''; and where ''y''i = 1 and ''y''i-1 = 0, the multiplicand times 2''i'' is subtracted from ''P''. The final value of ''P'' is the signed product.
The multiplicand and product are not specified; typically, these are both also in two's complement representation, like the multiplier, but any number system that supports addition and subtraction will work as well. As stated here, the order of the steps is not determined. Typically, it proceeds from LSB to MSB, starting at ''i'' = 0; the multiplication by 2''i'' is then typically replaced by incremental shifting of the ''P'' accumulator to the right between steps; low bits can be shifted out, and subsequent additions and subtractions can then be done just on the highest ''N'' bits of ''P''.〔

There are many variations and optimizations on these details.
The algorithm is often described as converting strings of 1's in the multiplier to a high-order +1 and a low-order –1 at the ends of the string. When a string runs through the MSB, there is no high-order +1, and the net effect is interpretation as a negative of the appropriate value.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Booth's multiplication algorithm」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.